package com.magenta.maxoptra.geocoding.geoinformsputnik;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * User: Zlygostev
 * Date: 23.04.12
 * Time: 13:04
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "info")
public class Info implements Serializable {
    @XmlElementWrapper(name = "projects")
    @XmlElement(name = "project")
    private List<Project> projects = new ArrayList<Project>();

    public List<Project> getProjects() {
        return projects;
    }

    public void setProjects(List<Project> projects) {
        this.projects = projects;
    }
}
